import Vue from 'vue';
import vueRouter from 'vue-router';
Vue.use(vueRouter);

const router = new vueRouter({
    routes:[
        {path:'/',component:()=>import('./page/index/index.vue')},
        {path:'/analysis',component:()=>import('./page/trendAnalysis/index.vue')},
        {path:'/ranking',component:()=>import('./page/ranking/index.vue')},
        {path:'/question',component:()=>import('./page/question/index.vue')},
        {path:'/intro',component:()=>import('./page/question/intro.vue')},
        {path:'/announce',component:()=>import('./page/updateAnnouncement/index.vue')},
        {path:'/wallet',component:()=>import('./page/wallet/index.vue')},
        {path:'/exchange',component:()=>import('./page/wallet/exchange.vue')},
    ]
})

export default router